<div class="ccc2">
	<ul>
		<li>
			<span class="right"><input type="button" onClick="javascript:history.back();" value="返回订单列表" class="gray mini"></span>
			当前位置：<?{$arrGWeb.module_name}?>管理
	 </li>
	</ul>
</div>
<br>
				
				<table width="100%" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066CC">
				 
					<tr>
					  <th colspan="7" bgcolor="#DFF6FF" style="color:#006699;"> 订单号：
						  <?{$arrData.deal_no}?>
					  </th>
					</tr>
					<tr>
					  <td width="5%" bgcolor="#FFFFFF" >&nbsp;序号</td>
					  <td width="29%" bgcolor="#FFFFFF" >&nbsp;产品名称</td>
					  <td width="15%" bgcolor="#FFFFFF" >&nbsp;产品型号</td>
					  <td width="17%" bgcolor="#FFFFFF" >&nbsp;产品品牌</td>
					  <td width="10%" bgcolor="#FFFFFF" >&nbsp;产品单价</td>
					  <td width="10%" bgcolor="#FFFFFF" >&nbsp;购买数量</td>
					  <td width="14%" bgcolor="#FFFFFF" >&nbsp;小计金额</td>
					</tr>
					<?{foreach from=$arrData.product key=key item=detail}?>
					<tr >
					  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_id}?></td>
					  <td bgcolor="#FFFFFF" >&nbsp;<a href="/product/detail.php?id=<?{$detail.product_id}?>" target="_blank">
						<?{$detail.product_title}?>
					  </a></td>
					  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_model}?></td>
					  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_brand}?></td>
					  <td bgcolor="#FFFFFF" >&nbsp;<?{if $arrData.is_largess != 2}?>￥<?{/if}?><?{$detail.product_price}?></td>
					  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_count}?></td>
					  <td bgcolor="#FFFFFF" >&nbsp;<?{if $arrData.is_largess != 2}?>￥<?{/if}?><?{$detail.product_price*$detail.product_count}?></td>
					</tr>
					<?{/foreach}?>
				  
</table>
<br>

				<table width="100%" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066CC" >
			<TBODY>
			<TR>
			  <Th colspan="6" bgcolor="#DFF6FF" >
			  <font color="#006699">订购人信息</font>		 
			  </th>		    
			 </tr>
			<tr>
			<td width="12%"  bgcolor="#FFFFFF" >订购人登陆名：</td>
			<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.user_name}?></td>
			<td  width="10%"  bgcolor="#FFFFFF" >真实姓名：</td>
			<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.contactor}?></td>
			<td width="10%"  bgcolor="#FFFFFF" >Email：</td>
			<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.email}?></td>
			</tr>
			<tr>
			<td  bgcolor="#FFFFFF" >电话：</td>
			<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.tel}?></td>
			<td  bgcolor="#FFFFFF" >手机：</td>
			<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.mobile}?></td>
			<td  bgcolor="#FFFFFF" >邮编：</td>
			<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.postcode}?></td>
			</tr>
			<tr>
			<td  bgcolor="#FFFFFF" >地址：</td>
			<td colspan="5"  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.address}?></td>
			</tr>
			<tr>
			<td  bgcolor="#FFFFFF" >公司：</td>
			<td colspan="5"  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.company}?></td>
			</tr>
		
		
		<form method="post" action="detail.php">
		<TR>		  
		  <Th colspan="6" bgcolor="#DFF6FF" >
		 <font color="#006699">总金额：<?{if $arrData.is_largess != 2}?>￥<?{else}?>积分<?{/if}?><?{$arrData.intBonus}?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		  订单状态：</font>
		  <select name="type_id" onChange="confirm('确认改变订单状态')?this.form.submit():this.form.reset()">	
			<?{foreach from=$arrMType key=key item=type_id}?>
			<option value="<?{$key}?>" <?{if $key==$arrData.type_id}?>selected=selected<?{/if}?>><?{$type_id}?></option>
			<?{/foreach}?>
			</select>			
		  </th>
		 </tr>
		 <input type="hidden" name="deal_no" value="<?{$arrData.deal_no}?>" />
		 </form>
	  </TBODY>
	 
</TABLE>	